gdk/surface: Try to reschedule pending phase until dispatched
authorJonas Ådahl <jadahl@gmail.com>
Wed, 2 Dec 2020 08:39:48 +0000 (09:39 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 08:46:39 +0000 (09:46 +0100)
commite0f13ecae7a9ed42880b9e87df532913612754d9
treeb8f0faaf44872a000d1a9a4b8df6e29a27377dd2
parent880ceebae41c8b2be646b8a70f4ca680a262da63
gdk/surface: Try to reschedule pending phase until dispatched

If a surface scheduled a relayout, got frozen, and a layout phase
happened, then got unfrozen, it wouldn't see it's layout being
requested; avoid this race by remembering the pending phases until they
actually happened.
gdk/gdksurface.c